package com.yellowpage.bigdata.data;

// default package

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * WeekGonet entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "tm_apponoff_active_week_gonet", catalog = "omc")
public class WeekGonet implements java.io.Serializable {

	// Fields

	private String weekGoneId;
	private Integer offset;
	private Integer cnts;
	private String dayId;
	private Date etlTime;

	// Constructors

	/** default constructor */
	public WeekGonet() {
	}

	/** full constructor */
	public WeekGonet(Integer offset, Integer cnts, String dayId, Date etlTime) {
		this.offset = offset;
		this.cnts = cnts;
		this.dayId = dayId;
		this.etlTime = etlTime;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "weekGoneId", unique = true, nullable = false)
	public String getWeekGoneId() {
		return this.weekGoneId;
	}

	public void setWeekGoneId(String weekGoneId) {
		this.weekGoneId = weekGoneId;
	}

	@Column(name = "offset", nullable = false)
	public Integer getOffset() {
		return this.offset;
	}

	public void setOffset(Integer offset) {
		this.offset = offset;
	}

	@Column(name = "cnts", nullable = false)
	public Integer getCnts() {
		return this.cnts;
	}

	public void setCnts(Integer cnts) {
		this.cnts = cnts;
	}

	@Column(name = "day_id", nullable = false, length = 10)
	public String getDayId() {
		return this.dayId;
	}

	public void setDayId(String dayId) {
		this.dayId = dayId;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "etl_time", nullable = false, length = 10)
	public Date getEtlTime() {
		return this.etlTime;
	}

	public void setEtlTime(Date etlTime) {
		this.etlTime = etlTime;
	}

}